﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="details.aspx.vb" Inherits="WebApplication1.details1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="Styles/DetailsStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <br />
   <br />
        <br />
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ID" DataSourceID="SqlDataSource1" AllowSorting="True" CssClass="detailsgv" >
            <Columns>
                <asp:BoundField DataField="Skin_Care_Center_Name" 
                    HeaderText="Skin_Care_Center_Name" SortExpression="Skin_Care_Center_Name" />
                <asp:BoundField DataField="Postcode" HeaderText="Postcode" 
                    SortExpression="Postcode" />
                <asp:BoundField DataField="Skin_Care_Physician" 
                    HeaderText="Skin_Care_Physician" SortExpression="Skin_Care_Physician" />
                <asp:BoundField DataField="Physician_Details" HeaderText="Physician_Details" 
                    SortExpression="Physician_Details" />
                <asp:BoundField DataField="Consult_fee" HeaderText="Consult_fee" 
                    SortExpression="Consult_fee" />
                <asp:BoundField DataField="Rating_Stars" HeaderText="Rating_Stars" 
                    SortExpression="Rating_Stars" />
                <asp:BoundField DataField="Phone_Number" HeaderText="Phone_Number" 
                    SortExpression="Phone_Number" />
                <asp:ImageField DataImageUrlField="Care_Center_Images" HeaderText="Thumbnail">
                    <ControlStyle CssClass="skincare" width="100px" Height="100px"/>
                </asp:ImageField>
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SkinConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:SkinConnectionString.ProviderName %>" 
            SelectCommand="SELECT [ID], [Skin Care Center Name] AS Skin_Care_Center_Name, [Postcode], [Skin Care Physician] AS Skin_Care_Physician, [Physician Details] AS Physician_Details, [Care Center Images] AS Care_Center_Images, [Consult fee] AS Consult_fee, [Rating Stars] AS Rating_Stars, [Phone Number] AS Phone_Number FROM [skin care] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
             </asp:SqlDataSource>
        <br />
        <br />
        <br />    
    <asp:Accordion ID="Accordion1" runat="server">
    <Panes>
    <asp:AccordionPane ID="AccordionPane1" runat="server">
        <header><font size="3cm"><font color="red">Cosmetic Surgery - Emotional Risks</font></font></header>
        <content>Many opt for cosmetic surgery in an age where looking good has become paramount and it certainly offers an effective solution to combat the signs of aging or to improve our appearance. One thing that many never consider is the emotional 
                  risks involved in surgery that will alter their appearance.</content>
    </asp:AccordionPane>
        <asp:AccordionPane ID="AccordionPane2" runat="server">
         <Header><font size="3cm"><font color="red">Rhinoplasty</font></font></Header>
        <Content > Rhinoplasty or nose reshaping is a plastic surgery procedure, highly requested by both men and women. Correcting a nose imperfection due to birth defect or injury, or enhancing 
                the appearance of the nose with more fullness can be done with rhinoplasty.</Content>
        </asp:AccordionPane>
        <asp:AccordionPane ID="AccordionPane3" runat="server">
        <Header><font size="3cm"><font color="red">Why Do So Many People Choose Plastic Surgery?</font></font></Header>
        <Content>Plastic surgery can change lives. The promise of smoother skin, a shapelier bust, and contoured facial features brings
         20 million Americans into the cosmetic surgeon's office each year.
        </Content>
        </asp:AccordionPane>
        <asp:AccordionPane ID="AccordionPane4" runat="server">
        <Header><font size="3cm"><font color="red">Natural Tips For Healthy And Sensual Lips</font></font></Header>
        <Content>Healthy lips are beautiful and make you look attractive, so the proper lip care is very important to look pretty. In this article you will find 5
           advices to achieve healthy, sensual and attractive lips.</Content>
        </asp:AccordionPane>
    </Panes>
    </asp:Accordion>
        <br />
        <br />
        <br />
   
        <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
            DataSourceID="SqlDataSource2" CssClass="detailsgv" >
            <Columns>
                <asp:BoundField DataField="Skincaretips" HeaderText="Skincaretips" 
                    SortExpression="Skincaretips" />
                <asp:ImageField DataImageUrlField="Imagetips" HeaderText="ImageView">
                    <ControlStyle Height="100px" Width="100px" />
                </asp:ImageField>
                <asp:HyperLinkField DataNavigateUrlFields="ID" 
                    DataNavigateUrlFormatString="RateDetails.aspx?ID={0}" Text="Rate" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SkinConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:SkinConnectionString.ProviderName %>" 
            
        SelectCommand="SELECT [ID], [Skincaretips], [Imagetips], [skincare_fkid] FROM [tips] WHERE ([skincare_fkid] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="skincare_fkid" QueryStringField="ID" 
                    Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
        <br />
        <br />
        <br />
 
        <br />
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
        <br />
        <br />
        <br />
        <asp:CheckBoxList ID="cbl" runat="server" 
            DataSourceID="SqlDataSource4" DataTextField="Tagname" 
        DataValueField="ID" RepeatDirection="Horizontal">
        </asp:CheckBoxList>
        <asp:Button ID="tag" runat="server" Text="Tagskincare" />
 <br />Addnewtag   <asp:TextBox ID="tb2" runat="server"></asp:TextBox>
    <asp:Button
     ID="Addtag" runat="server" Text="Addtag" />
        <br />  
        <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SkinConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:SkinConnectionString.ProviderName %>" 
            SelectCommand="SELECT [Tagname], [ID] FROM [Tags]"></asp:SqlDataSource>
            <br />  
            <br /> 
        Upload Skincare images and Tips<br /> 
        <br />   
    
               <asp:FileUpload ID="image" runat="server" />
               <br/>
               <br />  
               <br />  
               <br />  
   
        <asp:TextBox ID="t2" runat="server" Height="104px" TextMode="MultiLine" 
            Width="306px"></asp:TextBox>
            <br />
            <br />  
            <br />  
    
        <asp:Button ID="Ins" runat="server" Height="31px" Text="Instruction" 
            Width="106px" />
            <br />
            <br />  
         <br />  
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br />  
        <br />  
        <br />  
 
     <br />  
     <br />  
     <br />  
  <br />  
  <br />  
</asp:Content>
